package com.soft.springhrms.service;

import com.soft.springhrms.pojo.Attendance;
import com.soft.springhrms.pojo.Requests;
import com.baomidou.mybatisplus.extension.service.IService;
import com.soft.springhrms.vo.ResultVO;
import org.springframework.stereotype.Service;

/**
 * @author DELL
 * @description 针对表【requests】的数据库操作Service
 * @createDate 2024-11-16 18:48:18
 */
public interface RequestsService extends IService<Requests> {
    ResultVO addRequests(Requests requests);

    ResultVO querySalaryRequests(Integer employeeId, int pageNum, int pageSize);

    ResultVO queryRequestsHR(int pageNum, int pageSize);

    ResultVO queryRequestsAdmin(int pageNum, int pageSize);

    ResultVO approveRequestsHR(Requests requests);

    ResultVO approveRequestsAdmin(Requests requests);

    ResultVO queryRequestsHistory(Integer employeeId, int pageNum, int pageSize);


}
